import controller.OrderController;
import controller.ProductController;
import controller.UserController;
import service.OrderService;
import service.ProductService;
import service.UserService;
import view.OrderView;
import view.ProductView;
import view.UserView;

public class Main {
    public Main() {
    }

    public static void main(String[] args) {
        ProductService productService = new ProductService();
        ProductController productController = new ProductController(productService);
        ProductView productView = new ProductView(productController);
        OrderService orderService = new OrderService();
        OrderController orderController = new OrderController(orderService);
        OrderView orderView = new OrderView(orderController);
        UserService userService = new UserService();
        UserController userController = new UserController(userService);
        UserView userView = new UserView(userController);
        userView.showMenu();
        productView.showMenu();
        orderView.showMenu();
    }
}
